Fix OIDC logins silently failing when switching accounts#882
Merged
dozro merged 2 commits intoMay 20, 2026
Conversation
…oring login attempts The router only lets you visit `/home` or the like if `addAccount` is unset, but this did not account for `loginToken`. Now, if `loginToken` is set, you visit the `/login/server` route instead of being redirected to `/home`, allowing the account switcher to work as intended.
Contributor
Author
|
Perhaps an additional check should be done whether this concerns the |
Member
|
Hi, thank you so much for your contribution, could you please also add a .md file in the .changeset folder so that, if merged it will attribute the fix to you? the file should be of the form (inside ---
default: patch
---
Fix Account Switching and Multiple Sign-insor the like |
dozro
approved these changes
May 20, 2026
Member
dozro
left a comment
There was a problem hiding this comment.
looks good to me, tested it, solves the issue apparently
tested with:
matrix.orgfairchat.eu
(signed in at the same time)
11 tasks
7w1
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix OIDC logins in the account switcher failing due to the router ignoring login attempts. Closes #40 and probably more related issues.
Description
The router only lets you visit
/homeor the like ifaddAccountis unset, but this did not account forloginToken. Now, ifloginTokenis set, you visit the/login/serverroute instead of being redirected to/home, allowing the account switcher to work as intended.Fixes #40
Fixes #284
Type of change
Checklist:
AI disclosure:
No AI assists.